package com.qixin.modules.ea.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qixin.modules.ea.entity.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description: 通讯费报销单
 * @Author: qixin-boot
 * @Date:   2021-07-06
 * @Version: V1.0
 */
@Data
@ApiModel(value="ea_communications对象", description="通讯费报销单")
public class EaCommunicationPage {

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
	@ApiModelProperty(value = "单据编号")
	private String billNo;
	/**财务组织*/
	@Excel(name = "财务组织", width = 15)
	@ApiModelProperty(value = "财务组织")
	private java.lang.String financeDeptId;
	private transient String financeDeptIdName;
	/**报销金额*/
	@Excel(name = "报销金额", width = 15)
	@ApiModelProperty(value = "报销金额")
	private BigDecimal eaAmt;
	/**报销人*/
	@Excel(name = "报销人", width = 15)
	@ApiModelProperty(value = "报销人")
	private String personId;
	private String personIdName;
	/**报销人单位*/
	@Excel(name = "报销人单位", width = 15)
	@ApiModelProperty(value = "报销人单位")
	private String companyCodeId;
	/**报销人部门*/
	@Excel(name = "报销人部门", width = 15)
	@ApiModelProperty(value = "报销人部门")
	private String deptId;
	/**费用承担部门名称*/
	@Excel(name = "费用承担部门名称", width = 15)
	@ApiModelProperty(value = "费用承担部门名称")
	private java.lang.String costDeptName;
	/**收款人*/
	@Excel(name = "收款人", width = 15)
	@ApiModelProperty(value = "收款人")
	private String recPersonId;
	private String recPersonIdName;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15)
	@ApiModelProperty(value = "单据状态")
	private java.lang.Integer state;
	/**实际付款金额*/
	@Excel(name = "实际付款金额", width = 15)
	@ApiModelProperty(value = "实际付款金额")
	private BigDecimal actualPayAmt;
	/**个人银行账户*/
	@Excel(name = "个人银行账户", width = 15)
	@ApiModelProperty(value = "个人银行账户")
	private String perBankCode;
	/**个人银行户主*/
	@Excel(name = "个人银行户主", width = 15)
	@ApiModelProperty(value = "个人银行户主")
	private String perBankName;
	/**个人开户银行*/
	@Excel(name = "个人开户银行", width = 15)
	@ApiModelProperty(value = "个人开户银行")
	private String bankRecordId;
	/**费用承担单位*/
	@Excel(name = "费用承担单位", width = 15)
	@ApiModelProperty(value = "费用承担单位")
	private String costCompCodeId;
	/**费用承担部门*/
	@Excel(name = "费用承担部门", width = 15)
	@ApiModelProperty(value = "费用承担部门")
	private String costDept;
	/**支付方式*/
	@Excel(name = "支付方式", width = 15)
	@ApiModelProperty(value = "支付方式")
	private Integer paymentMethod;
	/**事由*/
	@Excel(name = "事由", width = 15)
	@ApiModelProperty(value = "事由")
	private String cause;
	/**附件*/
	@Excel(name = "附件", width = 15)
	@ApiModelProperty(value = "附件")
	private String attch;
	/**图片*/
	@Excel(name = "图片", width = 15)
	@ApiModelProperty(value = "图片")
	private String picture;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "单据日期")
	private Date billDate;

	//审批人id
	private transient String auditManId;
	//审批人
	private transient String auditMan;

	@ExcelCollection(name="费用明细")
	@ApiModelProperty(value = "费用明细")
	private List<EaBookDetail> eaBookDetailList;

	@ApiModelProperty(value = "更新日期-校验单据时效性")
	private String time;

	/**人员任职信息主键*/
	@Excel(name = "人员任职信息主键", width = 15)
	@ApiModelProperty(value = "人员任职信息主键")
	private java.lang.String psnjobId;

	/**流程实例id*/
	@Excel(name = "流程实例id", width = 15)
	@ApiModelProperty(value = "流程实例id")
	private java.lang.String procInstId;

	// update-begin-by wujinbiao 2022/3/18 11:54 for 添加费用起始时间、费用结束时间
	/**费用起始时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "费用起始时间")
	private Date feeStartTime;

	/**费用结束时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "费用结束时间")
	private Date feeEndTime;
	// update-end-by wujinbiao 2022/3/18 11:54 for 添加费用起始时间、费用结束时间

	// update-begin-by wujinbiao 2022/3/24 14:31 for 添加费用项目字段
	/**费用项目*/
	@Excel(name = "费用项目", width = 15)
	@ApiModelProperty(value = "费用项目")
	private java.lang.String indexId;
	// update-end-by wujinbiao 2022/3/24 14:31 for 添加费用项目字段
}
